package jdbc.service;

import java.util.List;

import jdbc.entity.ShopEntity;

public interface ShopService {
	/**
	 * 添加
	 */
	void addShop(ShopEntity sName);

	/**
	 * 删除 
	 * @param goodsCode 商品goodsCode
	 * @return 受影响的行
	 */
	int deleteShop(String sNumber);

	/**
	 * 修改
	 * @param goods
	 */
	int updateShop(ShopEntity sNumber);
	/**
	 * 获取商品
	 * 
	 * @param goodsCode
	 * @return
	 */
	ShopEntity getShop(String sNumber);
	/**
	 * 查询列表
	 * @return
	 */
	List<ShopEntity> listShop();

	int count();
}
